Database Error

We are currently experiencing technical difficulties.
Sorry for any inconvinience."; include('bottom.php'); exit(); }*/ //Set Up English timezone putenv("TZ=England"); //Get current page $page = $_SERVER['PHP_SELF']; //Check user is logged in if ($userid != "") { //!!!Added if statement because of removed failedToConnect test if ($failedToConnect != 1) { //Get users chips from database $query = "SELECT Chips FROM Users WHERE Id='$userid'"; $result = mysql_query($query); $row = mysql_fetch_array($result); //Variable userChips contains the users chips in PHP $userChips = $row['Chips']; } else { $userChips = 1000; } } else if (($page != "/index.php") && ($page != "/signup.php") && ($page != "/login.php")) { //Request user logs in echo "

Please Log In



You must be logged in to view this page.
To login click here."; include('bottom.php'); exit(); } ?>